widgets.brease.TableItemWidget

Widget Description

Properties

name description category type defaultValue bindable readOnly required localizable editableBinding projectable cssProp (has no setter and getter in JS) groupRefId groupOrder nodeRefId (for linking node and value) deprecated typeRefId (for StyleReference) subtype (for MpComIdentReference)
columnWidth Can individually override columnWidth of Table if !== 0 when TableItem is a column. Appearance UInteger 0 true false false false false true CellSize 2
enable Initial option to enable widget. Behavior Boolean true true false false false false true
permissionOperate restricts operability to users, which have given roles Accessibility RoleCollection no defaultValue
defined
false false false false false true
permissionView restricts visibility to users, which have given roles Accessibility RoleCollection no defaultValue
defined
false false false false false true
rowHeight Can individually override rowHeight of Table if !== 0 when TableItem is a row. Appearance UInteger 0 true false false false false true CellSize 1
style reference to a style for this widget type Appearance StyleReference default true false false false false true
text Heading for table column. Appearance String true false false true false true
visible change visibility Behavior Boolean true true false false false false true
zIndex The zIndex property specifies the z-order of a widget and its childs.
When widgets overlap, z-order determines which one covers the other. A widget with a larger zIndex generally covers a widget with a lower one.
The zIndex must be unique within a content.
UInteger no defaultValue
defined
false false true true true

Styleable Properties

name type description defaultValue
backColorOdd Color

Sets the background color of the table

transparent
backColorEven Color

Sets the background color of the table

transparent
backgroundGradientEven Gradient

Background as a gradient for even table entries in column direction

backgroundGradientOdd Gradient

Background as a gradient for even table entries in column direction

headerBackColor Color

Text color for selected entries

#FCFCFC
headerGradient Gradient

Background gradient for table header

headerTextColor Color

Sets the header text color

#333333
headerFontSize PixelVal

Fontsize of the header text

14px
headerBold Boolean

If true header text is bold

false
headerItalic Boolean

If true header text is italic

false
sortingButtonColor Color

Color of the arrow that is not the sorted way

#ececec
sortingButtonActiveColor Color

Color of the arrow that is the sorted way

#5f8dd3
textColorOdd Color

Sets the text color

#333333
textColorEven Color

Sets the text color

#333333
bold Boolean

If true font style is bold

false
italic Boolean

If true font style is italic

false
fontSize PixelVal

Fontsize of the text

14px
cellAlign brease.enum.BackgroundPosition

Alignment of the text in a cell

center center
cellBorderStyle BorderStyle

Style of the cell borders

solid
cellBorderColor Color

Sets the border color of each cell. For further information, please see its type

#C8C8C8
cellBorderWidth PixelValCollection

Sets the border width of each cell. For further information, please see its type

0px 0px 1px 1px
cellPadding Padding

Padding of table cells.

0px
headerCellPadding Padding

Padding of the header cells.

0px

Events

name description arguments
Click Fired when element is clicked on.
  • origin: String

    id of widget that triggered this event

  • horizontalPos: String

    horizontal position of click in pixel i.e '10px'

  • verticalPos: String

    vertical position of click in pixel i.e '10px'

DisabledClick Fired when disabled element is clicked on.
  • origin: String

    id of widget that triggered this event

  • hasPermission: Boolean

    defines if the state is caused due to missing roles of the current user

  • horizontalPos: String

    horizontal position of click in pixel i.e '10px'

  • verticalPos: String

    vertical position of click in pixel i.e '10px'

EnableChanged Fired when operability of the widget changes.
  • value: Boolean

    operability

VisibleChanged Fired when the visibility of the widget changes.
  • value: Boolean

    visibility

Actions

name description arguments result
SetColumnWidth Sets columnWidth
  • value: Size

SetEnable Sets the state of property «enable»
  • value: Boolean

SetRowHeight Sets rowHeight
  • value: Size

SetText Sets text
  • value: String

SetVisible Sets the state of property «visible»
  • value: Boolean